#!/usr/bin/python 
# -*- coding: utf-8 -*-

import  os,sys;
import  random;

def fun_Sort(v_list):
    tmp_num=len(v_list)
    for i in range(0,tmp_num):
        for j in range(i,tmp_num):
            if v_list[i] > v_list[j]:
                tmp_ele = v_list[j]
                v_list[j] = v_list[i]
                v_list[i] = tmp_ele

if __name__ == '__main__':
    num_list =[]
    for i in range(0,20):
        m = random.randrange(0,90)
        num_list.append(m)

    print '排序前列表：', num_list
    fun_Sort(num_list)
    print '排序后列表：', num_list